home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / SourceCode / MiscKit1.7.1 / MiscKit / Headers / misckit / MiscRemoteApplication.h < prev    next >
Encoding:
Text File  |  1994-09-27  |  1.4 KB  |  66 lines

  1. /*========================= MiscRemoteApplication.h ========================*/
  2. //        Written by Dale Amon, copyright 1994 by Genesis Project, Ltd.
  3. //                Version 0.8.  All rights reserved.
  4. //
  5. //        This notice may not be removed from this source code.
  6. //
  7. //    This object is included in the MiscKit by permission from the author
  8. //    and its use is governed by the MiscKit license, found in the file
  9. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  10. //    for a list of all applicable permissions and restrictions.
  11. //    
  12.  
  13. /* Class for running and setting up communications with remote applications.
  14.  
  15. HISTORY
  16. 25-Aug-93  Dale Amon at GPL
  17.        Created.
  18. */
  19.  
  20. #import <remote/NXProxy.h>    /* setProtocolForProxy */
  21.  
  22. #define    MISC_REMOTEAPPLICATION_VERSION_ID    0.8
  23.  
  24. @interface MiscRemoteApplication:Object <NXSenderIsInvalid>
  25. {
  26.     const char*    portName;
  27.     const char* appName;
  28.     const char*    appPath;
  29.  
  30.     id        proxy;
  31.     id        connection;
  32.     id        protocol;
  33.  
  34.     id        delegate;
  35.     int        retryCount;
  36.     int        retrySeconds;
  37.  
  38.     BOOL    debug;
  39. }
  40.  
  41. + initialize;
  42. + (BOOL) debug;
  43. + setDebug:    (BOOL) flg;
  44. + setPath: (const char*) newpath;
  45.  
  46. - free;
  47. - initAppName: (const char*) app portName: (const char*) port;
  48.  
  49. - run;
  50. - connection;
  51. - unconnect;
  52. - delegate;
  53. - protocol;
  54. - setDelegate:    anObject;
  55. - setProtocol:    aProtocol;
  56. - (int) retryInterval;
  57. - setRetryInterval: (int) n;
  58. - (int) retries;
  59. - setRetries:    (int) n;
  60.  
  61. - write:(NXTypedStream *)stream;
  62. - read:(NXTypedStream *)stream;
  63.  
  64. @end
  65.  
  66.